import org.junit.Assert;
import org.junit.Test;

public class NGuessNumberTest {
    public class  generateAnswerTest{
        @Test
        public  void generateAnswer(){
            int a=4;
            NGuessNumber nGuessNumber =new NGuessNumber();
            Assert.assertEquals(a,nGuessNumber.answer.length);

        }
    }
    public static void main(String[] args) {
        System.out.println("正确，数字为4");

    }
}
